ADP\BaseVersion\Includes\Rule\GiftStrategy A

Total Complexity 60
Dependencies 13
Dependents 3
Total lines 407
Lines of code 236
Logical lines of code 159
Comment lines 81
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
addCartSetGifts()
B
38 17 70
addCartItemGifts()
B
38 16 68
prepareFreeCartItem()
A
48 11 34
processFreeItem()
S
52 5 24
convertGiftToFreeCartItemChoices()
S
53 5 23
canGift()
S
78 2 3
canItemGifts()
S
73 2 5
__construct()
S
73 1 5
addGifts()
S
76 1 4